﻿using System;
using System.Collections.Generic;
using System.Text;
using AspNetCs.SQLServerDAL;
using AspNetCs.DALFactory;
using AspNetCs.IDAL;
using AspNetCs.Common;
using System.Data;

namespace AspNetCs.Bll
{
    public class ExcuteSqlTextBLL
    {
        private static IExcuteSqlText Dal = Conn.CreateExcuteSqlText_DAL();

        public static DataTable GetDataTable(string cmdText)
        {
            return Dal.GetDataTable(cmdText);
        }

        public static DataSet GetDataSet(string cmdText)
        {
            return Dal.GetDataSet(cmdText);
        }

        public static int ExcuteResult(string cmdText)
        {
            return Dal.ExcuteResult(cmdText);
        }

    }
}
